<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>百度编辑器</title>
    <style type="text/css">
        iframe { width: 820px; height: 100%; min-height: 520px; background: #EEE;}
        iframe::-webkit-scrollbar {/*滚动条整体样式*/
            width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
            height: 1px;
        }
        iframe::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
            border-radius: 10px;
            -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
            background: #535353;
            cursor: pointer;
        }
        iframe::-webkit-scrollbar-track {/*滚动条里面轨道*/
            -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
            border-radius: 10px;
            background: #EDEDED;
        }
    </style>
</head>
<body>
<iframe src="editorbd/_examples/demo.html" frameborder="0" scrolling="no"></iframe>
</body>
</html>

<script type="text/javascript">
    var ch = document.documentElement.clientHeight;
    console.log(ch);
</script>